﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>项点信息添加</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="../../../static/css/font.css">
    <link rel="stylesheet" href="../../../static/css/weadmin.css">
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
      <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
      <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>
    <div class="weadmin-body">
        <form class="layui-form">
            <div class="layui-form-item">
                <label for="ProName" class="layui-form-label">
                    <span class="we-red">*</span>项点名称
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="ProName" name="ProName" lay-verify="required" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="ProDescribe" class="layui-form-label">
                    项点描述
                </label>
                <div class="layui-input-block">
                    <textarea id="ProDescribe" name="ProDescribe" placeholder="请输入" class="layui-textarea"></textarea>
                </div>
            </div>
            <div class=" layui-form-item">
                <label for="ProClass" class="layui-form-label">
                    <span class="we-red">*</span>项点大类
                </label>
                <div class="layui-input-inline">
                    <select lay-filter="ProClass" id="ProClass" name="ProClass" autocomplete="off" class="valid">
                        <option value=""></option>
                        <option value="一招一式">一招一式</option>
                        <option value="实训过关">实训过关</option>
                    </select>
                </div>
                <label for="ProType" class="layui-form-label">
                    <span class="we-red">*</span>项点类别
                </label>
                <div class="layui-input-inline">
                    <select id="ProType" name="ProType" autocomplete="off" class="valid"></select>
                </div>
            </div>
            <div class="layui-form-item">
                <label for="VideoType" class="layui-form-label">
                    <span class="we-red"></span>项点视频类型
                </label>
                <div class="layui-input-inline">
                    <select id="VideoType" name="VideoType" autocomplete="off" class="valid">
                        <option value=""></option>
                        <option value="1">mp4文件</option>
                        <option value="2">exe文件</option>
                    </select>
                </div>

                <label for="ProVersion" class="layui-form-label">
                    <span class="we-red"></span>项点版本号
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="ProVersion" name="ProVersion" lay-verify="required" autocomplete="off" class="layui-input">
                </div>
                <label for="ProValue" class="layui-form-label">
                    <span class="we-red"></span>项点分值
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="ProValue" contextmenu="100" name="ProValue" lay-verify="required" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">

                <!--<div class="layui-upload">
            <button type="button" class="layui-btn layui-btn-normal" id="testList">依次选择项点文件、项点学习文件、项点图标</button>
            <label for="ProVersion" class="layui-input-block we-red">
                <span class="we-red">*</span>
                请确定第一个文件为项点文件、第二个文件为项点学习的文件、第三个为项点对应的图标

            </label>
            <div class="layui-upload-list">
                <table class="layui-table">
                    <thead>
                        <tr>
                            <th>文件名</th>
                            <th>大小</th>
                            <th>状态</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody id="demoList"></tbody>
                </table>
            </div>
            <button type="button" class="layui-btn" id="testListAction">开始上传</button>
        </div>-->
                <div class="layui-upload">
                    <button type="button" class="layui-btn layui-btn-normal" id="test8">选择考试项点文件</button>
                    <button type="button" class="layui-btn" id="test9">开始上传</button>
                    <input type="checkbox" id="up1" name="up1" title="已上传" lay-filter="up1" />
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-upload">
                    <button type="button" class="layui-btn layui-btn-normal" id="test10">选择学习项点文件</button>
                    <button type="button" class="layui-btn" id="test11">开始上传</button>
                    <input type="checkbox" id="up2" name="up2" title="已上传" lay-filter="up2" />
                </div>
            </div>


            <div class="layui-form-item">
                <div class="layui-upload">
                    <button type="button" class="layui-btn layui-btn-normal" id="test12">选择项点文件图标</button>
                    <button type="button" class="layui-btn" id="test13">开始上传</button>
                    <input type="checkbox" id="up3" name="up3" title="已上传" lay-filter="up3" />
                </div>
            </div>


        </form>
    </div>
    <script src="../../../lib/layui/layui.js" charset="utf-8"></script>
    <script>
        layui.use(['form', 'jquery', 'layer', 'laydate','upload'], function () {
            var form = layui.form,
                $ = layui.jquery,
                layer = layui.layer,
                laydate = layui.laydate,
                upload = layui.upload;
            $.support.cors = true;
            $.ajaxSetup({
                cache: false,
                headers: {
                    "userid": JSON.parse(window.localStorage.authInfo).UserId,
                    "signtoken": JSON.parse(window.localStorage.authInfo).SignToken,
                },
            })
            laydate.render({
                elem: '#EmpBirthday',
                trigger: 'click'
            });
            //监听指定开关
            form.on('switch(up1)', function (data) {
                layer.msg('开关checked：' + (this.checked ? 'true' : 'false'), {
                    offset: '6px'
                });
                layer.tips('温馨提示：请注意开关状态的文字可以随意定义，而不仅仅是ON|OFF', data.othis)
            });
            //选完文件后不自动上传（js代码，将文件传到后台）
            upload.render({
                elem: '#s_pmt_dw'				//“选择文件”按钮的ID
                , url: ApiUrl+ 'Project/uploadPortrait'	//后台接收地址
                , data: { s_rkbm: '1', type: 'S1' }		//传递到后台的数据
                , auto: false				//不自动上传设置
                , accept: 'file'				 //允许上传的文件类型
                , exts: 'png|jpg|bmp' 			//设置智能上传图片格式文件
                , size: 5000 				//最大允许上传的文件大小
                , multiple: true				//设置是否多个文件上传
                , bindAction: '#test99'			//“上传”按钮的ID
                , before: function (obj) {
                    //预读本地文件示例，不支持ie8
                    obj.preview(function (index, file, result) {		//在当前ID为“demo2”的区域显示图片
                        $('#demo2').append('<img name = "s_pmt_dw" style="width: 120px; height: 150px; margin-left: 16px;" src="' + result + '" alt="' + file.name + '" class="layui-upload-img">')
                    });
                }
                , done: function (res) {
                    console.log(res)
                }
            });
            //选完文件后不自动上传
            upload.render({
                elem: '#test8'
                , auto: false
                ,url: ApiUrl + 'Project/FileUpload'
                , headers: {
                    "userid": JSON.parse(window.localStorage.authInfo).UserId,
                    "signtoken": JSON.parse(window.localStorage.authInfo).SignToken,
                }
                , accept: 'file'
                , exts: 'jpg|png|gif|mp4|exe'
                //,multiple: true
                , bindAction: '#test9'
                , before: function (obj) {

                    $("#up1").prop("checked", false);
                    form.render();//必须，不然动态加载项不显示
                    this.data = {
                        ProName: $("#ProName").val(),
                        ProDescribe: $("#ProDescribe").val(),
                        ProClass: $("#ProClass  option:selected").val(),
                        ProType: $("#ProType  option:selected").val(),
                        VideoType: $("#VideoType  option:selected").val(),
                        ProValue: $("#ProValue").val(),
                        ProVersion: $("#ProVersion").val(),
                        FileType:1 
                    }//携带额外的数据
                    //var index = layer.load(); //开始上传之后打开load层
                }
                , done: function (res) {
                    if (res.code == 200) { //上传成功
                        console.log(res.msg);
                        $("#up1").prop("checked", true);
                            form.render();//必须，不然动态加载项不显示
                    }
                }
                , error: function (res) {//上传失败
                    console.log(res.msg);
                }
            });
            //选完文件后不自动上传
            upload.render({
                elem: '#test10'
                , auto: false
                , url: ApiUrl + 'Project/FileUpload'
                , headers: {
                    "userid": JSON.parse(window.localStorage.authInfo).UserId,
                    "signtoken": JSON.parse(window.localStorage.authInfo).SignToken,
                }
                , accept: 'file'
                , exts: 'jpg|png|gif|mp4|exe'
                //,multiple: true
                , bindAction: '#test11'
                , before: function (obj) {

                    $("#up2").prop("checked", false);
                    form.render();//必须，不然动态加载项不显示
                    this.data = {
                        ProName: $("#ProName").val(),
                        ProDescribe: $("#ProDescribe").val(),
                        ProClass: $("#ProClass  option:selected").val(),
                        ProType: $("#ProType  option:selected").val(),
                        VideoType: $("#VideoType  option:selected").value(),
                        ProValue: $("#ProValue").val(),
                        ProVersion: $("#ProVersion").val(),
                        FileType: 2
                    }//携带额外的数据
                    //var index = layer.load(); //开始上传之后打开load层
                }
                , done: function (res) {
                    if (res.code == 200) { //上传成功
                        console.log(res.msg);
                        $("#up2").prop("checked", true);
                        form.render();//必须，不然动态加载项不显示
                    }
                }
                , error: function (res) {//上传失败
                    console.log(res.msg);
                }
            });
            //选完文件后不自动上传
            upload.render({
                elem: '#test12'
                , auto: false
                , url: ApiUrl + 'Project/FileUpload'
                , headers: {
                    "userid": JSON.parse(window.localStorage.authInfo).UserId,
                    "signtoken": JSON.parse(window.localStorage.authInfo).SignToken,
                }
                , accept: 'file'
                , exts: 'jpg|png|gif|mp4|exe'
                //,multiple: true
                , bindAction: '#test13'
                , before: function (obj) {

                    $("#up3").prop("checked", false);
                    form.render();//必须，不然动态加载项不显示
                    this.data = {
                        ProName: $("#ProName").val(),
                        ProDescribe: $("#ProDescribe").val(),
                        ProClass: $("#ProClass  option:selected").val(),
                        ProType: $("#ProType  option:selected").val(),
                        VideoType: $("#VideoType  option:selected").val(),
                        ProValue: $("#ProValue").val(),
                        ProVersion: $("#ProVersion").val(),
                        FileType: 3
                    }//携带额外的数据
                    //var index = layer.load(); //开始上传之后打开load层
                }
                , done: function (res) {
                    if (res.code == 200) { //上传成功
                        console.log(res.msg);
                        $("#up3").prop("checked", true);
                        form.render();//必须，不然动态加载项不显示
                    }
                }
                , error: function (res) {//上传失败
                    console.log(res.msg);
                }
            });
            //自定义验证规则
            form.verify({
                nikename: function (value) {
                    if (value.length < 2) {
                        return '姓名至少2个字符';
                    }
                },
                pass: [/(.+){6,12}$/, '密码必须6到12位'],
                repass: function (value) {
                    if ($('#EmpPwd').val() != $('#ReEmpPwd').val()) {
                        return '两次密码不一致';
                    }
                }
            });

            form.on('select(ProClass)', function (data) {
                var val = data.value;
                console.info(val);

                ////加载部门信息，角色信息，机务段信息
                //$.ajax({
                //    url: ApiUrl + "Project/GetProType",
                //    type: 'get',
                //    data: { "ProClass": $("#ProClass").val() },
                //    headers: {
                //        "userid": JSON.parse(window.localStorage.authInfo).UserId,
                //        "signtoken": JSON.parse(window.localStorage.authInfo).SignToken,
                //    },
                //    success: function (data) {
                //        if (data.StatusCode == 200) {
                //            $("#ProType").append("<option value=''></option>");
                //            $(data.Data).each(function (index, item) { 
                //                $("#ProType").append("<option value='" + item.ProType + "'>" + item.ProType + "</option>");
                //            });
                //            form.render();//必须，不然动态加载项不显示
                //        }
                //        else if (data.StatusCode == 403) {
                //            layer.alert(data.Info, function () {
                //                location.href = './login.html';
                //            })
                //        }
                //        else {
                //            layer.msg(data.Info);
                //        }
                //    }
                //});
            })

            $(function () {
                //加载部门信息，角色信息，机务段信息
                $.ajax({
                    url: ApiUrl + "Project/GetProType",
                    type: 'get',
                    data: { "ProClass": $("#ProClass").val() },
                    headers: {
                        "userid": JSON.parse(window.localStorage.authInfo).UserId,
                        "signtoken": JSON.parse(window.localStorage.authInfo).SignToken,
                    },
                    success: function (data) {
                        if (data.StatusCode == 200) {
                            $("#ProType").append("<option value=''></option>");
                            $(data.Data).each(function (index, item) { 
                                $("#ProType").append("<option value='" + item.ProType + "'>" + item.ProType + "</option>");
                            });
                            form.render();//必须，不然动态加载项不显示
                        }
                        else if (data.StatusCode == 403) {
                            layer.alert(data.Info, function () {
                                location.href = './login.html';
                            })
                        }
                        else {
                            layer.msg(data.Info);
                        }
                    }
                });
                ////加载部门信息，角色信息，机务段信息
                //$.ajax({
                //    url: ApiUrl + "Dep/Sel",
                //    type: 'post',
                //    success: function (data) {
                //        if (data.StatusCode == 200) {
                //            $(data.Data).each(function (index, item) {
                //                $("#DepID").append("<option value='" + item.DepID + "'>" + item.DepName + "</option>");
                //            });
                //            form.render();
                //        }
                //    }
                //});
                //$.ajax({
                //    url: ApiUrl + "Role/Sel",
                //    type: 'post',
                //    success: function (data) {
                //        if (data.StatusCode == 200) {
                //            $(data.Data).each(function (index, item) {
                //                $("#RoleID").append("<option value='" + item.RoleID + "'>" + item.RoleName + "</option>");
                //            });
                //            form.render();
                //        }
                //    }
                //});
                //加载部门信息，角色信息，机务段信息结束
            })


            //多文件列表示例
            var demoListView = $('#demoList')
                , uploadListIns = upload.render({
                    elem: '#testList'
                    , url: ApiUrl + 'Project/FileUpload'
                    , headers: {
                        "userid": JSON.parse(window.localStorage.authInfo).UserId,
                        "signtoken": JSON.parse(window.localStorage.authInfo).SignToken,
                    }
                    , accept: 'file'
                    , exts: 'jpg|png|gif|bmp|jpeg|doc|docx|pdf|mp4|avi|rm|mpg|flv|exe'
                    , multiple: true
                    , auto: false
                    , bindAction: '#testListAction'
                    , choose: function (obj) {
                        var files = this.files = obj.pushFile(); //将每次选择的文件追加到文件队列
                        //读取本地文件
                        obj.preview(function (index, file, result) {
                            var tr = $(['<tr id="upload-' + index + '">'
                                , '<td>' + file.name + '</td>'
                                , '<td>' + (file.size / 1014).toFixed(1) + 'kb</td>'
                                , '<td>等待上传</td>'
                                , '<td>'
                                , '<button class="layui-btn layui-btn-xs demo-reload layui-hide">重传</button>'
                                , '<button class="layui-btn layui-btn-xs layui-btn-danger demo-delete">删除</button>'
                                , '</td>'
                                , '</tr>'].join(''));

                            //单个重传
                            tr.find('.demo-reload').on('click', function () {
                                obj.upload(index, file);
                            });

                            //删除
                            tr.find('.demo-delete').on('click', function () {
                                delete files[index]; //删除对应的文件
                                tr.remove();
                                uploadListIns.config.elem.next()[0].value = ''; //清空 input file 值，以免删除后出现同名文件不可选
                            });

                            demoListView.append(tr);
                        });
                    }
                    , before: function (obj) {
                        this.data = {
                            ProName: $("#ProName").val(),
                            ProDescribe: $("#ProDescribe").val(),
                            ProClass: $("#ProClass  option:selected").val(),
                            ProType: $("#ProType  option:selected").val(),
                            VideoType: $("#VideoType  option:selected").val(),
                            ProValue: $("#ProValue").val(),
                            ProVersion: $("#ProVersion").val()
                        }//携带额外的数据
                        //var index = layer.load(); //开始上传之后打开load层
                    }
                    , done: function (res, index, upload) {
                        if (res.code == 0) { //上传成功
                            var tr = demoListView.find('tr#upload-' + index)
                                , tds = tr.children();
                            tds.eq(2).html('<span style="color: #5FB878;">上传成功</span>');
                            tds.eq(3).html(''); //清空操作
                            return delete this.files[index]; //删除文件队列已经上传成功的文件
                        }
                        if (res.code == 601) { //上传成功
                            var tr = demoListView.find('tr#upload-' + index)
                                , tds = tr.children();
                            tds.eq(2).html('<span style="color: #5FB878;">文件重复</span>');
                            tds.eq(3).html(''); //清空操作
                            return delete this.files[index]; //删除文件队列已经上传成功的文件
                        }
                        this.error(index, upload);
                    }
                    , error: function (index, upload) {
                        var tr = demoListView.find('tr#upload-' + index)
                            , tds = tr.children();
                        tds.eq(2).html('<span style="color: #FF5722;">上传失败</span>');
                        tds.eq(3).find('.demo-reload').removeClass('layui-hide'); //显示重传
                    }
                });


            ////多文件列表示例
            //$('#demoList').uploadListIns.render({
            //        elem: '#testList1'
            //        //, url: ApiUrl + 'Project/FileUpload'
            //        //, headers: {
            //        //    "userid": JSON.parse(window.localStorage.authInfo).UserId,
            //        //    "signtoken": JSON.parse(window.localStorage.authInfo).SignToken,
            //        //}
            //        , accept: 'file'
            //        , exts: 'jpg|png|gif|bmp|jpeg|doc|docx|pdf|mp4|avi|rm|mpg|flv'
            //        , multiple: true
            //        , auto: false
            //        , bindAction: '#testListAction'
            //        , choose: function (obj) {
            //            var files = this.files = obj.pushFile(); //将每次选择的文件追加到文件队列
            //            //读取本地文件
            //            obj.preview(function (index, file, result) {
            //                var tr = $(['<tr id="upload-' + index + '">'
            //                    , '<td>' + file.name + '</td>'
            //                    , '<td>' + (file.size / 1014).toFixed(1) + 'kb</td>'
            //                    , '<td>等待上传</td>'
            //                    , '<td>'
            //                    , '<button class="layui-btn layui-btn-xs demo-reload layui-hide">重传</button>'
            //                    , '<button class="layui-btn layui-btn-xs layui-btn-danger demo-delete">删除</button>'
            //                    , '</td>'
            //                    , '</tr>'].join(''));

            //                //单个重传
            //                tr.find('.demo-reload').on('click', function () {
            //                    obj.upload(index, file);
            //                });

            //                //删除
            //                tr.find('.demo-delete').on('click', function () {
            //                    delete files[index]; //删除对应的文件
            //                    tr.remove();
            //                    uploadListIns.config.elem.next()[0].value = ''; //清空 input file 值，以免删除后出现同名文件不可选
            //                });

            //                demoListView.append(tr);
            //            });
            //        }
            //        //, before: function (obj) {
            //        //    this.data = {
            //        //        //FTID: $("#FTID  option:selected").val(),
            //        //        //KKID: $("#KKID  option:selected").val(),
            //        //        //TFUploadDeptID: $("#TFUploadDeptID  option:selected").val(),
            //        //        //TFFileLevel: $("#TFFileLevel").val(),
            //        //        //TFFileKey: $("#TFFileKey").val(),
            //        //        //TFReadTime: $("#TFReadTime").val()
            //        //    }//携带额外的数据
            //        //    //var index = layer.load(); //开始上传之后打开load层
            //        //}
            //        //, done: function (res, index, upload) {
            //        //    if (res.code == 0) { //上传成功
            //        //        var tr = demoListView.find('tr#upload-' + index)
            //        //            , tds = tr.children();
            //        //        tds.eq(2).html('<span style="color: #5FB878;">上传成功</span>');
            //        //        tds.eq(3).html(''); //清空操作
            //        //        return delete this.files[index]; //删除文件队列已经上传成功的文件
            //        //    }
            //        //    if (res.code == 601) { //上传成功
            //        //        var tr = demoListView.find('tr#upload-' + index)
            //        //            , tds = tr.children();
            //        //        tds.eq(2).html('<span style="color: #5FB878;">文件重复</span>');
            //        //        tds.eq(3).html(''); //清空操作
            //        //        return delete this.files[index]; //删除文件队列已经上传成功的文件
            //        //    }
            //        //    this.error(index, upload);
            //        //}
            //        //, error: function (index, upload) {
            //        //    var tr = demoListView.find('tr#upload-' + index)
            //        //        , tds = tr.children();
            //        //    tds.eq(2).html('<span style="color: #FF5722;">上传失败</span>');
            //        //    tds.eq(3).find('.demo-reload').removeClass('layui-hide'); //显示重传
            //        //}
            //    }
            //    );


            ////多文件列表示例
            //var demoListView12= $('#demoList')
            //    , uploadListIns2 = upload.render({
            //        elem: '#testList2'
            //        , url: ApiUrl + 'Project/FileUpload'
            //        , headers: {
            //            "userid": JSON.parse(window.localStorage.authInfo).UserId,
            //            "signtoken": JSON.parse(window.localStorage.authInfo).SignToken,
            //        }
            //        , accept: 'file'
            //        , exts: 'jpg|png|gif|bmp|jpeg|doc|docx|pdf|mp4|avi|rm|mpg|flv'
            //        , multiple: true
            //        , auto: false
            //        , bindAction: '#testListAction'
            //        , choose: function (obj) {
            //            var files = this.files = obj.pushFile(); //将每次选择的文件追加到文件队列
            //            //读取本地文件
            //            obj.preview(function (index, file, result) {
            //                var tr = $(['<tr id="upload-' + index + '">'
            //                    , '<td>' + file.name + '</td>'
            //                    , '<td>' + (file.size / 1014).toFixed(1) + 'kb</td>'
            //                    , '<td>等待上传</td>'
            //                    , '<td>'
            //                    , '<button class="layui-btn layui-btn-xs demo-reload layui-hide">重传</button>'
            //                    , '<button class="layui-btn layui-btn-xs layui-btn-danger demo-delete">删除</button>'
            //                    , '</td>'
            //                    , '</tr>'].join(''));

            //                //单个重传
            //                tr.find('.demo-reload').on('click', function () {
            //                    obj.upload(index, file);
            //                });

            //                //删除
            //                tr.find('.demo-delete').on('click', function () {
            //                    delete files[index]; //删除对应的文件
            //                    tr.remove();
            //                    uploadListIns.config.elem.next()[0].value = ''; //清空 input file 值，以免删除后出现同名文件不可选
            //                });

            //                demoListView.append(tr);
            //            });
            //        }
            //        , before: function (obj) {
            //            this.data = {
            //                //FTID: $("#FTID  option:selected").val(),
            //                //KKID: $("#KKID  option:selected").val(),
            //                //TFUploadDeptID: $("#TFUploadDeptID  option:selected").val(),
            //                //TFFileLevel: $("#TFFileLevel").val(),
            //                //TFFileKey: $("#TFFileKey").val(),
            //                //TFReadTime: $("#TFReadTime").val()
            //            }//携带额外的数据
            //            //var index = layer.load(); //开始上传之后打开load层
            //        }
            //        , done: function (res, index, upload) {
            //            if (res.code == 0) { //上传成功
            //                var tr = demoListView.find('tr#upload-' + index)
            //                    , tds = tr.children();
            //                tds.eq(2).html('<span style="color: #5FB878;">上传成功</span>');
            //                tds.eq(3).html(''); //清空操作
            //                return delete this.files[index]; //删除文件队列已经上传成功的文件
            //            }
            //            if (res.code == 601) { //上传成功
            //                var tr = demoListView.find('tr#upload-' + index)
            //                    , tds = tr.children();
            //                tds.eq(2).html('<span style="color: #5FB878;">文件重复</span>');
            //                tds.eq(3).html(''); //清空操作
            //                return delete this.files[index]; //删除文件队列已经上传成功的文件
            //            }
            //            this.error(index, upload);
            //        }
            //        , error: function (index, upload) {
            //            var tr = demoListView.find('tr#upload-' + index)
            //                , tds = tr.children();
            //            tds.eq(2).html('<span style="color: #FF5722;">上传失败</span>');
            //            tds.eq(3).find('.demo-reload').removeClass('layui-hide'); //显示重传
            //        }
            //    });

        });
    </script>
</body>
</html>